from netmiko import Netmiko
from netmiko import ConnectHandler 

h3cdemo1 = ConnectHandler(
    device_type="hp_comware",
    host="172.168.10.10",
    username="admin",
    password="admin",
    port=22,
)
# print(h3cdemo1)

output = h3cdemo1.send_command(
    "display ip interface brief"
    )
print(output)